package com.example.demo.service;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Param;

import com.example.demo.entify.Menu;
import com.example.demo.entify.RoleMenu;
import com.example.demo.entify.UserRole;

public interface MenuService {
	
	List<Menu> findMenu(Menu menu);
	List<Menu> findAllmenus(Map<String,Object> params);

	int addroleMenu(RoleMenu RoleMenu);
	int deleteRoleMenu(RoleMenu RoleMenu);
	
	boolean isExistence(RoleMenu RoleMenu);
	int addMenu(Menu menu);
}
